package com.banksystem.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.banksystem.entity.Money;
import com.banksystem.mapper.Stjfmapper;
import com.banksystem.service.Stjfsrevice;

@Service
public class Stjfsreviceimpl implements Stjfsrevice {

	@Autowired
	private Stjfmapper mapper;
	
	@Override
	public void addjf(String gname, String use, String count, String date, String content) {
		mapper.addjf(gname, use, count, date, content);

	}

	@Override
	public List<Money> findMoneyAll(String gname) {
		// TODO Auto-generated method stub
		return mapper.findMoneyAll(gname);
	}

	@Override
	public void deletemoney(String id) {
		// TODO Auto-generated method stub
		mapper.deletemoney(id);
	}

	@Override
	public List<Money> findmoneyAlllike(String seach, String gname) {
		// TODO Auto-generated method stub
		return mapper.findmoneyAlllike(seach, gname);
	}

}
